package com.foreknow.elm.dao;

import com.foreknow.elm.po.Orderdetailet;

import java.util.List;

public interface OrderdetailetDao {
    /**
     *批量添加明细的信息
     * @param list
     * @return
     * @throws Exception
     */
    public int saveOrderDetailetBatch(List<Orderdetailet> list) throws Exception;

    /**
     *根据订单的ID查询明细列表
     * @param orderId
     * @return
     * @throws Exception
     */
    public List<Orderdetailet> listOrderDetailetByOrderId(Integer orderId) throws Exception;

}
